package com.yanmaohu.nikita.data.expression;

import com.yanmaohu.nikita.data.others.Sign;

/**
 * @author Bright Lee
 */
public final class NumberExpression extends Expression {

    private Sign sign;
    private String unsignedInteger1;
    private String unsignedInteger2;
    private Sign sign3;
    private String unsignedInteger3;

    public NumberExpression(int beginIndex,
                            int endIndex,
                            Sign sign,
                            String unsignedInteger1,
                            String unsignedInteger2,
                            Sign sign3,
                            String unsignedInteger3) {
        super(beginIndex, endIndex);
        this.sign = sign;
        this.unsignedInteger1 = unsignedInteger1;
        this.unsignedInteger2 = unsignedInteger2;
        this.sign3 = sign3;
        this.unsignedInteger3 = unsignedInteger3;
    }

    public Sign getSign() {
        return sign;
    }

    public String getUnsignedInteger1() {
        return unsignedInteger1;
    }

    public String getUnsignedInteger2() {
        return unsignedInteger2;
    }

    public Sign getSign3() {
        return sign3;
    }

    public String getUnsignedInteger3() {
        return unsignedInteger3;
    }

}
